/* jtk.c: general jtk functions. */

#include <jtk.h>

jtk_callback jtk_callback_list[JTK_TOTAL_CALLBACKS];

void jtk_set_callback(int index, jtk_callback func)
{
    if (index >= JTK_TOTAL_CALLBACKS)
        return;

    jtk_callback_list[index] = func;
}

